
// late 判空
class Cat {
  late String name;
  late String color;
}

void testLate() {
  try {
    if (Cat().name != null) {
      print("name is not empty");
    } else {
      print("name is empty");
    }
  } catch (e) {
    print("name get value error: ${e}");
  }
}

typedef StringArray = List<String>;